/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.OCP.Impl;

import junit.framework.Assert;

/**
 *
 * @author Nashief
 */
public class LoanRequestHandler { 
    private int balance; 
    private int period; 
    
    public LoanRequestHandler(int b,int p)
    {
        balance=b; 
        period=p;
    }
    public boolean approveLoan(Validator validator) 
    {
        if(validator.isValid(balance))
        return true;
        else
        return false;
        
    }
}
